#define _CRT_SECURE_NO_WARNINGS 1

#include<stdio.h>

int main() {
    double x = 3.14159;
    double r = 0;
    scanf("%lf", &r);
    double zhi, zhou, mian;
    zhi = 2 * r;
    zhou = 2 * x * r;
    mian = x * r * r;
    printf("%.4f %.4f %.4f", zhi, zhou, mian);
    return 0;
}